package com.hsgene.product.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * 广告
 */
public class GeneticBanners implements Serializable {

    private static final long serialVersionUID = 6598858372136033297L;

    /**
     * 主键
     */
    private String id;
    /**
     * 图片地址
     */
    private String imageUrl;
    /**
     * 图片外部地址
     */
    private String imageLinkUrl;
    /**
     * 排序字段
     */
    private Integer sort = 0;
    /**
     * 删除标志
     */
    private Integer deleteFlag;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 创建时间
     */
    private Date createDateTime;

    /**
     * 修改时间
     */
    private Date updateDateTime;

    /**
     * 图片类型（1-代表广告banner  2-代表首页底部图片）
     */
    private Integer type;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl == null ? null : imageUrl.trim();
    }

    public String getImageLinkUrl() {
        return imageLinkUrl;
    }

    public void setImageLinkUrl(String imageLinkUrl) {
        this.imageLinkUrl = imageLinkUrl == null ? null : imageLinkUrl.trim();
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }

    public Date getCreateDateTime() {
        return createDateTime;
    }

    public void setCreateDateTime(Date createDateTime) {
        this.createDateTime = createDateTime;
    }

    public Date getUpdateDateTime() {
        return updateDateTime;
    }

    public void setUpdateDateTime(Date updateDateTime) {
        this.updateDateTime = updateDateTime;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "GeneticBanners{" +
               "id='" + id + '\'' +
               ", imageUrl='" + imageUrl + '\'' +
               ", imageLinkUrl='" + imageLinkUrl + '\'' +
               ", sort=" + sort +
               ", deleteFlag=" + deleteFlag +
               ", remarks='" + remarks + '\'' +
               ", createDateTime=" + createDateTime +
               ", updateDateTime=" + updateDateTime +
               ", type=" + type +
               '}';
    }

}